import Vue from 'vue'
import App from './App.vue'
import '@/plugins/element'
import router from '@/router'

import './api/mock'

import store from './store'

import '@/assets/css/reset.css'

Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  created() {
    store.commit('addMenu', router)
  },
}).$mount('#app')
